<!DOCTYPE html>
<html>

<head>
    <include file="public@head" title="个人信息" keywords="后台管理系统"/>
</head>

<body class="layui-layout-admin">
<include file="public@header"/>
<include file="public@side"/>
<div class="layui-body">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a href="{:url('admin/index/index')}">主页</a>
        <a><cite>个人信息</cite></a>
    </div>

    <div class="layui-fluid mgt10">
        <div class="layui-card">
            <div class="layui-card-header">
                编辑资料
            </div>
            <div class="layui-card-body">
                <form class="layui-form" role="form" method="post" action="{:url('admin/admin/editInfo')}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">昵称</label>
                        <div class="layui-input-inline">
                            <input type="text" lay-verify="required" class="layui-input" value="{$admin.nick_name}" name="nick_name">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$admin.id}"/>
                            <button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="general">
                                保存修改
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<include file="public@scripts"/>
</body>

</html>
